package cn.gson.oasys.services.address.impl;

import cn.gson.oasys.model.dao.notedao.DirectorDao;
import cn.gson.oasys.services.address.DirectorService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

@Service
@Transactional
public class DirectorServiceImpl implements DirectorService {

    @Autowired
    private DirectorDao directorDao;

    //记日志
    Logger log = LoggerFactory.getLogger(getClass());

    //获取通讯录个数
    @Override
    public Object count() {
        return directorDao.count();
    }
}
